<template>
  <div class="screen-container">
    <!-- 页面头部分 -->
    <header class="screen-header">
      <div>
        <img
          :src="require('@/assets/header_border_dark.png')"
          alt=""
        >
      </div>
      <span class="logo">
        这里是Logo图片
      </span>
      <span class="title">大屏展示二次学习</span>
      <div class="title-right">
        <span class="datetime">2049-01-01 00:00:00</span>
      </div>
    </header>

    <!-- 页面主体 -->
    <div class="screen-body">
      <!-- 主体左侧 -->
      <section class="screen-left">
        <!-- 左上 -->
        <div id="left-top">
        </div>
        <!-- 左下 -->
        <div id="left-bottom">
        </div>
      </section>
      <!-- 主体中心 -->
      <section class="screen-middle">
        <!-- 中上 -->
        <div id="middle-top">
        </div>
        <!-- 中下 -->
        <div id="middle-bottom">
        </div>
      </section>
      <!-- 主体右侧 -->
      <section class="screen-right">
        <!-- 右上 -->
        <div id="right-top">
        </div>
        <!-- 右下 -->
        <div id="right-bottom">
        </div>
      </section>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
// 全屏样式的定义
.fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  z-index: 100;
}

.screen-container {
  width: 100%;
  height: 100%;
  padding: 0 20px;
  background-color: #161522;
  color: #ffffff;
  box-sizing: border-box;
}
.screen-header {
  width: 100%;
  height: 64px;
  font-size: 20px;
  position: relative;
  > div {
    img {
      width: 100%;
    }
  }
  .title {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 20px;
    transform: translate(-50%, -50%);
  }
  .title-right {
    display: flex;
    align-items: center;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-80%);
  }
  .qiehuan {
    width: 28px;
    height: 21px;
    cursor: pointer;
  }
  .datetime {
    font-size: 15px;
    margin-left: 10px;
  }
  .logo {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-80%);
    img {
      height: 35px;
      width: 128px;
    }
  }
}
.screen-body {
  width: 100%;
  height: 100%;
  display: flex;
  margin-top: 10px;
  .screen-left {
    height: 100%;
    width: 27.6%;
    #left-top {
      height: 53%;
      position: relative;
    }
    #left-bottom {
      height: 31%;
      margin-top: 25px;
      position: relative;
    }
  }
  .screen-middle {
    height: 100%;
    width: 41.5%;
    margin-left: 1.6%;
    margin-right: 1.6%;
    #middle-top {
      width: 100%;
      height: 56%;
      position: relative;
    }
    #middle-bottom {
      margin-top: 25px;
      width: 100%;
      height: 28%;
      position: relative;
    }
  }
  .screen-right {
    height: 100%;
    width: 27.6%;
    #right-top {
      height: 46%;
      position: relative;
    }
    #right-bottom {
      height: 38%;
      margin-top: 25px;
      position: relative;
    }
  }
}
.resize {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}
section > div {
  border: 1px solid red;
}
</style>